home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr21
/
jurascad.zip
/
OGL.RCI
< prev
next >
Wrap
Text File
|
1993-02-23
|
8KB
|
161 lines
; Resource Script File for ObjectGraphics
#include "ogl.h"
#include "draw.h"
; Standard ObjectGraphics cursors
crosshairs CURSOR croshair.cur
finger CURSOR finger.cur
spread CURSOR fatcross.cur
; Standard ObjectGraphics Brush patterns
ten BITMAP TEN.DIB
fifteen BITMAP FIFTEEN.DIB
thirty BITMAP THIRTY.DIB
fifty BITMAP FIFTY.DIB
seventy BITMAP SEVENTY.DIB
eighty5 BITMAP EIGHTY5.DIB
horizontal BITMAP HORIZONT.DIB
thinHorz BITMAP THINHORZ.DIB
vertical BITMAP VERTICAL.DIB
thinVert BITMAP THINVERT.DIB
hatch BITMAP HATCH.DIB
thinHatch BITMAP THINHAT.DIB
diagonal BITMAP DIAGONAL.DIB
thinDiag BITMAP THINDIAG.DIB
pebble BITMAP PEBBLE.DIB
thinPebble BITMAP THINPEBB.DIB
brick BITMAP BRICK.DIB
; ObjectDraw's icons
dividers ICON dividers.ico
brush ICON brush.ico
; ObjectDraw toolbox bitmaps
chooser BITMAP Chooser.DIB
cropper BITMAP Cropper.DIB
zoom BITMAP Zoomer.DIB
line BITMAP Line.DIB
rectangle BITMAP Rect.DIB
roundRectangle BITMAP RndRect.DIB
ellipse BITMAP Circle.DIB
polygon BITMAP Polygon.DIB
polyline BITMAP PolyLine.DIB
curve BITMAP Curve.DIB
icon BITMAP Icon.DIB
text BITMAP Text.DIB
; ObjectDraw default bitmap
divider BITMAP DIVIDER.DIB
/* ObjectGraphics Dialog boxes */
SYSCOLOR DIALOG DISCARDABLE LOADONCALL PURE MOVEABLE 34, 33, 151, 78
STYLE WS_POPUP | WS_CAPTION | 0x80L
CAPTION "Set System Color"
FONT 8, "Helv"
BEGIN
CONTROL "COMBOBOX" 101, "COMBOBOX", WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_SORT | WS_TABSTOP, 2, 3, 76, 71
CONTROL "&Cancel" IDCANCEL, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 95, 41, 43, 17
CONTROL "&OK" IDOK, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | 0x1L, 95, 14, 43, 17
END
RGBBOX DIALOG DISCARDABLE LOADONCALL PURE MOVEABLE 8, 25, 166, 104
STYLE WS_POPUP | WS_CAPTION | 0x40L
CAPTION "RGB Color"
FONT 8, "Helv"
BEGIN
CONTROL "Enter 0-255 for each color" 106, "STATIC", WS_CHILD | WS_VISIBLE, 4, 4, 144, 8
CONTROL "" 107, "STATIC", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 4, 12, 150, 1
CONTROL "&Primaries" 110, "BUTTON", WS_CHILD | WS_VISIBLE | BS_GROUPBOX, 4, 18, 87, 62
CONTROL "white" 111, "BUTTON", WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON | WS_GROUP, 8, 28, 32, 12
CONTROL "red" 112, "BUTTON", WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON, 8, 40, 28, 12
CONTROL "green" 113, "BUTTON", WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON, 8, 52, 32, 12
CONTROL "blue" 114, "BUTTON", WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON, 8, 64, 28, 12
CONTROL "black" 115, "BUTTON", WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON, 48, 28, 32, 12
CONTROL "cyan" 116, "BUTTON", WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON, 48, 40, 28, 12
CONTROL "magenta" 117, "BUTTON", WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON, 48, 52, 40, 12
CONTROL "yellow" 118, "BUTTON", WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON, 48, 64, 36, 12
CONTROL "&Red" 103, "STATIC", WS_CHILD | WS_VISIBLE | WS_GROUP, 102, 27, 16, 8
CONTROL "" 100, "EDIT", WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 122, 23, 32, 12
CONTROL "&Green" 104, "STATIC", WS_CHILD | WS_VISIBLE | WS_GROUP, 97, 46, 21, 8
CONTROL "" 101, "EDIT", WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 122, 44, 32, 12
CONTROL "&Blue" 105, "STATIC", WS_CHILD | WS_VISIBLE | WS_GROUP, 102, 65, 16, 8
CONTROL "" 102, "EDIT", WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 122, 63, 32, 12
CONTROL "&OK" IDOK, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | 0x1L, 75, 84, 31, 14
CONTROL "&Cancel" IDCANCEL, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 118, 84, 31, 14
CONTROL "Palette RGB" 119, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | 0x2L, 5, 85, 57, 12
END
DIMENSIONS DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 25, 156, 113
CAPTION "Dimensions"
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
FONT 8, "Helv"
BEGIN
CONTROL "Choose units and define page size", 105, "static", SS_LEFT | WS_CHILD, 4, 4, 144, 8
CONTROL "", 106, "STATIC", SS_BLACKFRAME | WS_CHILD, 4, 12, 147, 1
CONTROL "&Units", 107, "button", BS_GROUPBOX | WS_CHILD, 4, 18, 64, 50
CONTROL "device", 110, "button", BS_RADIOBUTTON | WS_CHILD | WS_GROUP , 8, 28, 36, 12
CONTROL "inches", 111, "button", BS_RADIOBUTTON | WS_CHILD, 8, 40, 36, 12
CONTROL "centimeters", 112, "button", BS_RADIOBUTTON | WS_CHILD, 8, 52, 55, 12
CONTROL "&Granularity",113, "button", BS_GROUPBOX | WS_CHILD | WS_GROUP, 4, 74, 88, 30
CONTROL "", 114, "edit", ES_LEFT | WS_BORDER | WS_TABSTOP | WS_CHILD, 8, 86, 20, 12
CONTROL "steps per unit",115, "static", SS_LEFT | WS_GROUP | WS_CHILD, 32, 87, 56, 8
CONTROL "&Page Size", 116, "button", BS_GROUPBOX | WS_CHILD, 74, 18, 77, 50
CONTROL "Width", 117, "static", SS_LEFT | WS_CHILD, 86, 37, 24, 8
CONTROL "Height", 118, "static", SS_LEFT | WS_CHILD, 82, 53, 28, 8
CONTROL "", 119, "edit", ES_LEFT | WS_BORDER | WS_TABSTOP | WS_CHILD, 112, 34, 32, 12
CONTROL "", 120, "edit", ES_LEFT | WS_BORDER | WS_TABSTOP | WS_CHILD, 112, 50, 32, 12
CONTROL "&OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 112, 74, 31, 14
CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 112, 93, 32, 14
END
GRIDDLG DIALOG DISCARDABLE LOADONCALL PURE MOVEABLE 30, 42, 96, 86
STYLE WS_POPUP | WS_CAPTION
CAPTION "Grid Sizes"
FONT 8, "Helv"
BEGIN
CONTROL "Enter grains/unit", 106, "STATIC", WS_CHILD | WS_VISIBLE | WS_GROUP, 8, 4, 70, 9
CONTROL "", 107, "STATIC", WS_CHILD | WS_VISIBLE | 0x7L, 8, 12, 68, 1
CONTROL "&X", 103, "STATIC", WS_CHILD | WS_VISIBLE | WS_GROUP | 0x2L, 1, 23, 11, 8
CONTROL "", 100, "EDIT", WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 16, 19, 32, 12
CONTROL "&Y", 104, "STATIC", WS_CHILD | WS_VISIBLE | WS_GROUP | 0x2L, 2, 42, 10, 8
CONTROL "", 101, "EDIT", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER, 16, 40, 32, 12
CONTROL "&OK", IDOK, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | 0x1L, 58, 44, 31, 14
CONTROL "&Cancel", IDCANCEL, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 58, 64, 31, 14
CONTROL "no grid", 119, "BUTTON", WS_CHILD | WS_VISIBLE | WS_TABSTOP | 0x3L, 12, 68, 40, 12
END
IDDIALOG DIALOG LOADONCALL MOVEABLE DISCARDABLE 19, 28, 108, 72
CAPTION "Graphic Identification"
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
FONT 8, "Helv"
BEGIN
CONTROL "I.D.", 105, "static", SS_LEFT | WS_CHILD, 6, 8, 16, 8
CONTROL "", DW_IDENT, "edit", ES_LEFT | WS_BORDER | WS_TABSTOP | WS_CHILD, 24, 6, 76, 12
CONTROL "&Interpret as", 110, "button", BS_GROUPBOX | WS_CHILD, 6, 26, 55, 41
CONTROL "an Int", DW_ASINT, "button", BS_RADIOBUTTON | WS_CHILD | WS_GROUP, 12, 38, 32, 12
CONTROL "a Symbol", DW_ASSYMBOL, "button", BS_RADIOBUTTON | WS_CHILD, 12, 50, 42, 12
CONTROL "&OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD | WS_GROUP, 70, 32, 31, 14
CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_CHILD | WS_TABSTOP, 70, 52, 31, 14
END
popupMenu MENU
BEGIN
POPUP "Align"
BEGIN
MENUITEM "Left", 800
MENUITEM "Center", 801
MENUITEM "Right", 802
MENUITEM SEPARATOR
MENUITEM "Top", 803
MENUITEM "Middle", 804
MENUITEM "Bottom", 805
END
END